/* Chat reaction styling */

.reaction-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    align-items: center;
}

.reaction-btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.reaction-btn:hover {
    transform: scale(1.05);
}

.emoji-reaction {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.emoji-reaction:hover {
    transform: scale(1.1);
}

.emoji-picker-popup, .emoji-overflow-popup {
    z-index: 9999;
}

.emoji-picker-popup .card, .emoji-overflow-popup .card {
    min-width: 200px;
    max-width: 300px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.emoji-option {
    font-size: 1.5rem;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.emoji-option:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.emoji-list {
    max-height: 300px;
    overflow-y: auto;
}

.emoji-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.emoji-item .emoji {
    font-size: 1.5rem;
}

.emoji-item .count {
    font-weight: bold;
    color: #6c757d;
}
